package com.yami.shop.service;

import com.yami.shop.bean.model.UnlockRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 解锁记录 服务类
 * </p>
 *
 * @author chajiu
 * @since 2021-06-29
 */
public interface UnlockRecordService extends IService<UnlockRecord> {
    /**
     * from是否解锁了to
     * @param fromId
     * @param toId
     * @return
     */
    boolean isUnlocked(String fromId,String toId);
}
